#import "Item.h"
@implementation Item
@synthesize wname, wcallname, wtype, wimage , wprice ,damage,range;
-(id)initWithDictionary:(NSMutableDictionary *)dic{
	[super initWithDictionary:dic];
	wcallname=[dic objectForKey:@"wcallname"];
	wname = [dic objectForKey:@"wname"];
	wtype = [dic objectForKey:@"wtype"];
	wprice = [[dic objectForKey:@"wprice"] intValue];
	wimage = [dic objectForKey:@"wimage"];
	damage = [[dic objectForKey:@"damage"] intValue];
	range =[[dic objectForKey:@"range"] intValue];
	return self;
}


@end